package com.zhou;

import com.zhou.config.CustomBanner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;


/**
 * @author zhouyuyan
 */
@SpringBootApplication
@EnableScheduling //开启定时任务
public class FiringApplication {
    public static void main(String[] args) {
        SpringApplication application = new SpringApplication(FiringApplication.class);
        // 设置自定义 Banner
        application.setBanner(new CustomBanner());
        application.run(args);
    }
}
